package demo1;

public class Car extends Vehicle {
    private String make;
    private int model;

    public void setMake(String make) {
        this.make = make;
    }

    public void setModel(int model) {
        this.model = model;
    }

    public String getMake() {
        return make;
    }

    public int getModel(int i) {
        return model;
    }

    @Override
    public void drive(){
        System.out.println("启动");
    }
}
